Total Complexity | 48 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 242 |
Lines of code | 179 |
Logical lines of code | 102 |
Comment lines | 16 |
Methods | 19 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_to_quote_action() | 46 | 11 | 38 | |
add_cart_item() | 54 | 4 | 22 | |
update_cart() | 60 | 4 | 15 | |
maybe_set_cart_cookies() | 60 | 4 | 14 | |
exists_in_cart() | 61 | 3 | 12 | |
set_cart_cookies() | 63 | 3 | 10 | |
set_session() | 70 | 3 | 6 | |
quote_session_start() | 68 | 2 | 7 | |
quote_cron_schedule() | 73 | 2 | 5 | |
get_request_quote_page_url() | 69 | 2 | 6 | |
remove_cart() | 65 | 2 | 10 | |
unset_session() | 81 | 1 | 3 | |
clean_session() | 75 | 1 | 4 | |
get_quote_cart_session() | 76 | 1 | 4 | |
init_callback() | 75 | 1 | 5 | |
get_cart_data() | 82 | 1 | 3 | |
is_empty_cart() | 80 | 1 | 3 | |
clear_cart() | 76 | 1 | 4 | |
__construct() | 66 | 1 | 8 |